package co.gov.medellin.sdep.sisdep.model.dao;

import java.util.List;

import co.gov.medellin.sdep.sisdep.model.OperDesmonteRet;

public interface IOperDesmonteRetDAO {

	/**
	 *
	 * @param operdesmonteret
	 */
	void insert(OperDesmonteRet operdesmonteret);

	/**
	 *
	 * @param operdesmonteret
	 */
	void update(OperDesmonteRet operdesmonteret);

	/**
	 *
	 * @param operdesmonteret
	 */
	void delete(OperDesmonteRet operdesmonteret);

	/**
	 *
	 * @param id
	 */
	void deleteByPrimaryKey(long id);

	/**
	 *
	 * @param operdesmonteret 
	 * @return
	 */
	List load(OperDesmonteRet operdesmonteret);

	/**
	 *
	 * @param id
	 * @return
	 */
	OperDesmonteRet findByPrimaryKey(long id);

	/**
	 *
	 * @param  operdesmonteret
	 * @return
	 */
	OperDesmonteRet findByCriteria(OperDesmonteRet operdesmonteret);

	/**
	 *
	 * @param operdesmonteret
	 * @return
	 */
	OperDesmonteRet findByActiveState(OperDesmonteRet operdesmonteret);
	
	/**
	 * 
	 * @param operdesmonteret
	 * @return
	 */
	List searchByParametersDinamycally(OperDesmonteRet operdesmonteret);

}
